package demo.proxy.sta;

import entity.Student;

/**
 * 注册服务测试
 *
 * @author dingwen
 * 2021.05.25 11:19
 */
public class TestRegister {
    public static void main(String[] args) {
        RegisterServiceImpl registerService = new RegisterServiceImpl();
        Student student = new Student();
        student.setName("dingwen");
        student.setGender("男");
        student.setId("1");
        RegisterServiceProxy proxy = new RegisterServiceProxy(registerService);
        proxy.register(student);
    }
}
